﻿{include file="common/head"/}
<style>
    a.item-inner {
        color: #2c2c2c
    }

    .item-media img {
        width: 1.0rem
    }
</style>
<body>

<div class="page" id="cft">
    {include file="common/loginHead"/}
    

    <div class="content">
        <form class="layui-form" onsubmit="return false">
            <input type="hidden" value="TrandStatic.DoStatic" name="s"/>
            <input type="hidden" value="user/xigu/licai_change_do" name="root"/>
            <div class="list-block" >
                <ul>
                    <li>
                        <div class="item-content">
                            <div class="item-inner">
                                <div class="item-title label">选择期限</div>
                                <div class="item-input" id='option1'>
                                    <select name="package_id">
                                        <option value="180">180天</option>
                                        <option value="90">90天</option>
                                        <option value="60">60天</option>
                                        <option value="30">30天</option>
                                        <option value="15">15天</option>
                                    </select>
                                </div>
                            </div>
                        </div>
                        <div class="item-content">
                            <div class="item-inner">
                                <div class="item-title label">转出钱包</div>
                                <select name="coin_id">
                                    <option value="1">流通钱包</option>
                                    <option value="2">储蓄钱包</option>
                                </select>
                            </div>
                        </div>

                    </li>
                    <li>
                        <div class="item-content">
                            <div class="item-inner">
                                <div class="item-title label">存入金额</div>
                                <div class="item-input" >
                                   <input type="text" name="amount" autocomplete="off" lay-verify="require|number" placeholder="请输入存入金额">
                                </div>
                            </div>
                        </div>
                    </li>
                    <li>
                        <div class="item-content">
                            <div class="item-inner">
                                <div class="item-title label">安全密码</div>
                                <div class="item-input">
                                    <input type="password" name="safepassword" autocomplete="off" lay-verify="require|pass" placeholder="请输入安全密码">
                                </div>
                            </div>
                        </div>
                    </li>
                </ul>
            </div>

            <button class="click-btn" lay-submit lay-filter="BackRefreshForm" >确认</button>
        </form>
    </div>
    
</div>
<script type='text/javascript' src='/static/xigu/js/jquery-3.3.1.min.js' charset='utf-8'></script>
<script type='text/javascript' src='/static/xigu/js/light7.min.js' charset='utf-8'></script>
<script type='text/javascript' src='/static/xigu/js/light7-swiper.min.js' charset='utf-8'></script>
<script type='text/javascript' src='/static/xigu/js/light7-swipeout.js' charset='utf-8'></script>
<script type='text/javascript' src='/static/xigu/js/cn.min.js' charset='utf-8'></script>
<script type='text/javascript' src='/static/xigu/js/layui.js' charset='utf-8'></script>
<script type='text/javascript' src='/static/xigu/js/basis.js' charset='utf-8'></script>
</body>

<script type="text/javascript"  >

       layui.loadPage({
           cft: function (id) {
               var $this = this;
               $this.sendAjax({s: 'TrandStatic.InfoView', root:'wallet/manage/package/lists'}, function (d) {
                   console.log(d);
                   var ds = [];
                   for(var i in d){
                       ds.push({name:d[i].name,id:d[i].id});
                   }
                   $('#option1').html($.t7.compile($('#day_list_tpl').html())({day:ds}));
               });
           }
       });
</script>

</html>
